﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TX.Core;
using TX.Passport.Models;   

namespace TX.Passport.Repositories
{
    /// <summary>
    /// 用户存储库
    /// </summary>
    public interface IAdministratorRepository{        
        IQueryable<Administrator> GetAdministrators(QueryOption<Administrator> option = null);
        Administrator AddAdministrator(Administrator model);
        void RemoveAdministrator(Administrator model);
        void UpdateAdministrator(Administrator model);
    }
}